

        <!--BEGIN POPUP-->
        
        <style type="text/css">
			.iconCloseGrey {
				color:#FFF;
				text-decoration:none;
				font-family:Tahoma, Geneva, sans-serif;
				font-size:12px;
				font-weight:bold;
			}
			.popuphead{
				color:#FFF;
				background:url(../wp-content/themes/theme1273/images/ui.png);
				width:400px;
				height:50px;
			}
			div {
				width:400px
				
			}
			body{
				background:url(../wp-content/themes/theme1273/images/tail-body.gif)
			}
			
			table{
				border:solid 1px #EEE;
				color:#FFFFFF;
				border-collapse:collapse;
			}
			table td{
				border:solid 1px #EEE;
			}
			table tr{
				border:solid 1px #EEE;
			}
		</style>
        
<center>
<div style=" width:400px; height:450px; ">
        <!-- BEGIN LOGO-->
        <div>
        	<img src="../wp-content/themes/theme1273/images/temp/logo.png" width="200" height="32">
        </div>
        <!-- END LOGO-->
	
        <!-- BEGIN TOP BUTTONS-->
	
        <div class="popupbuttonbox_top">
            <div style="text-align:right">
                <a href="javascript:window.close();" class="iconCloseGrey">Chiudi&nbsp;&nbsp;<img width="12" height="12" src="../wp-content/themes/theme1273/images/close.png"></a>
            </div>
        </div>
        
        <!-- END TOP BUTTONS-->
	
<div class="modFooter"><hr></div>
        
        <!-- BEGIN POP UP MODULE -->
        <div class="appPopupContent setWidthPopup">
            
            <div class="modCopy2col textContent">
                <h1 class="popuphead"></h1>
            </div>
            
            <div class="mod2Col">
                <div class="modBorder">
                    <div class="modTop">&nbsp;</div>
                  <div style="text-align:center;">
                  
                  <center>
                        <?php
								include '../wp-includes/php/DBManager.class.php';
									$db = new DBManager ( 'localhost', 'root', '', 'iumus' );
									$query = "SELECT * FROM utente WHERE Username = '".$_GET['username']."'";
									$result = $db->executeQuery ( $query );
									
									while( $row = mysql_fetch_array ( $result ) ) {
										echo '<table style="width:350px">';
										echo '<tr>';
										echo '<td >Username:&nbsp;</td><td>'.$row['Username'].'</td>';
										echo '</tr>';
										echo '<tr>';
										echo '<td >Name:&nbsp;</td><td>'.$row['Nome'].'</td>';
										echo '</tr>';
										echo '<tr>';
										echo '<td >Surname:&nbsp;</td><td>'.$row['Cognome'].'</td>';
										echo '</tr>';
										echo '<tr>';
										echo '<td >E-mail:&nbsp;</td><td>'.$row['Email'].'</td>';
										echo '</tr>';
										
										
									
									}
									echo '<input type="hidden" name="send" value="'.$_GET['username'].'"/>';
									
									$query = "SELECT COUNT(*) FROM watchlist WHERE idUser = '".$_GET['username']."'";
									$result = $db->executeQuery ( $query );
									
									while( $row = mysql_fetch_array ( $result ) ) {
									echo '<tr>';
										echo '<td >Watchlist:&nbsp;</td><td>'.$row[0].'</td>';
										echo '</tr>';
										
									}
									
									$query = "SELECT COUNT(*) FROM commenti WHERE idUser = '".$_GET['username']."'";
									$result = $db->executeQuery ( $query );
									
									while( $row = mysql_fetch_array ( $result ) ) {
										echo '<tr>';
										echo '<td >Comments:&nbsp;</td><td>'.$row[0].'</td>';
										echo '</tr>';
										
									}
									
									$query = "SELECT COUNT(*) FROM filmnoleggio WHERE idUser = '".$_GET['username']."'";
									$result = $db->executeQuery ( $query );
									
									while( $row = mysql_fetch_array ( $result ) ) {
										echo '<tr>';
										echo '<td >Leased:&nbsp;</td><td>'.$row[0].'</td>';
										echo '</tr>';
										echo '</table>';
										
									}
								
                                ?></center>
                        <br>
                    </div>
                </div>
                <div class="modFooter"><hr></div>
            </div>
            
            <br class="clear">
            
            <!-- BEGIN BUTTONPACK BOTTOM-->
            <div style="text-align:right">
            	<div style="text-align:right">
                <a href="javascript:window.close();" class="iconCloseGrey">Chiudi&nbsp;&nbsp;<img width="12" height="12" src="../wp-content/themes/theme1273/images/close.png"></a>
            </div>
            </div>
            
            <!-- END BUTTONPACK BOTTOM-->

            <!-- BEGIN FOOTER-->
            <div class="popupfooter setWidthPopup" style="text-align:left">
                <span style="font-family:'Tw Cen MT Condensed'; font:12px; color:#FFF; ">Copyright &copy; 2011 BroadcastWWM</span>
            </div>
            <!-- END FOOTER-->
            
        </div>
        <!-- END POP UP MODULE -->
        
        <!--END POPUP-->
    


</div>
</center>